<?php
class Application_Model_DbTable_cartBg extends Application_Model_DbTable_base
{
	protected $_name = 'cart_bg';
	
	public function del()
	{
		$this->_del('all');
	}
	
	public function getRand()
	{
		return $this->select(TRUE)
			->setIntegrityCheck(FALSE)
			->order('RAND()');
	}

}